package com.ds.lens.data.vo.in;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = true)
public class PagedConditionInVO<T> extends ConditionInVO<T> {
    @Valid
    @NotNull(message = "page can not be null!")
    private Page page;

    @Valid
    private Sort sort;
}
